package demo1;

public class Bird extends Animal implements IFlyAble{
    public Bird() {
    }

    public Bird(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println(this.name + "正在吃鸟粮");
    }

    @Override
    public void fly() {
        System.out.println(this.name + "正在飞");
    }
}
